import random


X = random.randint(1, 100)
for __count in range(5):
    nX = int(input('猜猜我想的数字？'))
    if (X == nX):
        print('你猜对了')
        break
    if (nX > X):
        print('不对，大了')
    else:
        print('不对，小了')
